package me.firstapp.zerone.common;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class ManagePageController extends BaseManage {

	@RequestMapping(value = "/index.html", method = RequestMethod.GET)
	public ModelAndView indexView(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap) {
		return new ModelAndView("common/index", modelMap);
	}

	@RequestMapping(value = "/welcome.html", method = RequestMethod.GET)
	public ModelAndView welcomeView(HttpServletRequest request, HttpServletResponse response, ModelMap modelMap) {
		return new ModelAndView("common/welcome", modelMap);
	}
}
